package com.zbkj.front.controller.v2.system;

import com.zbkj.dal.base.result.CommonResult;
import com.zbkj.front.model.vo.PageImageVO;
import com.zbkj.front.service.SystemV2Service;
import com.zbkj.service.model.front.vo.spread.BannerListVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

@Api
@RestController
@RequestMapping("/api/front/v2/system")
public class SystemV2Controller {

    @Resource
    private SystemV2Service systemV2Service;

    @ApiOperation(value = "首页-尊享服务", tags = "我的")
    @GetMapping("/index/premium/experience/icon")
    public CommonResult<PageImageVO> indexPremiumExperienceIcon() {
        return CommonResult.success(systemV2Service.indexPremiumExperienceIcon());
    }



    @ApiOperation(value = "推广页面banner列表", tags = "推广")
    @GetMapping("/spread/banner/list")
    public CommonResult<PageImageVO> spreadBannerList() {
        return CommonResult.success(systemV2Service.spreadBannerList());
    }

}
